package com.kgc.itrip.service;
import com.kgc.itrip.common.Page;
import com.kgc.itrip.pojo.ItripHotel;
import com.kgc.itrip.vo.hotel.HotelVideoDescVO;
import com.kgc.itrip.vo.hotel.ItripSearchDetailsHotelVO;

import java.util.List;
import java.util.Map;

/**
* Created by shang-pc on 2015/11/7.
*/
public interface ItripHotelService {

    public ItripHotel getItripHotelById(Long id)throws Exception;

    public List<ItripHotel>	getItripHotelListByMap(Map<String,Object> param)throws Exception;

    public Integer getItripHotelCountByMap(Map<String,Object> param)throws Exception;

    public Integer itriptxAddItripHotel(ItripHotel itripHotel)throws Exception;

    public Integer itriptxModifyItripHotel(ItripHotel itripHotel)throws Exception;

    public Integer itriptxDeleteItripHotelById(Long id)throws Exception;

    public Page<ItripHotel> queryItripHotelPageByMap(Map<String,Object> param, Integer pageNo, Integer pageSize)throws Exception;

    HotelVideoDescVO getVideoDesc(Long id) throws Exception;

    List<ItripSearchDetailsHotelVO> queryHotelDetails(Long id) throws Exception;
}
